package com.rerun.enums;

/**
 * The enum Job state enum.
 */
public enum JobStateEnum {

	/**
	 * 正常（默认）
	 */
	normal("0", "正常"),

	/**
	 * 发布
	 */
	release("1", "审核中"),

	/**
	 * 审核失败
	 */
	fail("2", "信息审核失败"),
	/**
	 * 删除职位
	 */
	delete("5", "已删除"),
	/**
	 * 停止招聘
	 */
	stop("4", "停止招聘");

	/** 主键 */
	private final String key;

	/** 描述 */
	private final String desc;

	JobStateEnum(final String key, final String desc) {
		this.key = key;
		this.desc = desc;
	}

	/**
	 * Gets key.
	 *
	 * @return the key
	 */
	public String getKey() {
		return this.key;
	}

	/**
	 * Gets desc.
	 *
	 * @return the desc
	 */
	public String getDesc() {
		return this.desc;
	}

}
